#ifndef _STRAWGUI_TOUCH_ZONE_H_
#define _STRAWGUI_TOUCH_ZONE_H_

#include "sConfig.h"
#include "sMath.h"
#include "sSaveable.h"

#ifdef _EDITOR
#include "sRTTIObject.h"
#endif

#include "sComponentRect.h"

namespace sgui
{
namespace res
{

	class sComponentRectTouchZone : public sComponentRect
	{
	public:		
		inst::sComponentRectInstance* getInstance(inst::sComponentInstance& instanceFor, s32 id) const;
		const EComponentRectType getClass() const { return COMPONENT_RECT_TOUCH_ZONE; }
		
		void save(db::Record& file) const;
		void load(const db::Record& file);
		void clear();
		
#ifdef _EDITOR
		void exportRTTI(rtti::sInfoList& list);
#endif
		sComponentRectTouchZone(sGUI& gui);

	};

};
};

#endif